<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>块级元素和行内元素的转换</title>
    <style>
       .list>li{
           display: inline-block;
           margin-right: 20px;
       }
    </style>
</head>
<body>
    <ul class="list">
        <li>栏目一</li>
        <li>栏目二</li>
        <li>栏目三</li>
        <li>栏目四</li>
        <li>栏目五</li>
    </ul>
</body>
</html>